package com.yuelife.service.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.*;
import java.io.Serializable;

/****
 * @Author:admin
 * @Description:SCategoryGood构建
 * @Date 2019/6/14 19:13
 *****/
@ApiModel(description = "SCategoryGood",value = "SCategoryGood")
@Table(name="s_category_good")
public class SCategoryGood implements Serializable{

	@ApiModelProperty(value = "商品分类id",required = false)
	@Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "good_category_pid")
	private Integer goodCategoryPid;//商品分类id

	@ApiModelProperty(value = "商品分类名称",required = false)
    @Column(name = "good_category_pname")
	private String goodCategoryPname;//商品分类名称



	//get方法
	public Integer getGoodCategoryPid() {
		return goodCategoryPid;
	}

	//set方法
	public void setGoodCategoryPid(Integer goodCategoryPid) {
		this.goodCategoryPid = goodCategoryPid;
	}
	//get方法
	public String getGoodCategoryPname() {
		return goodCategoryPname;
	}

	//set方法
	public void setGoodCategoryPname(String goodCategoryPname) {
		this.goodCategoryPname = goodCategoryPname;
	}


}
